﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Data {
    public partial class MerchantFacesMap
        : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<MerchantFaces> {
        public MerchantFacesMap() {
            // table
            ToTable("mc_MerchantFace", "dbo");

            // keys
            HasKey(t => t.Id);

            // Properties
            Property(t => t.Id)
                .HasColumnName("Id")
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity)
                .IsRequired();
         
        }
    }
   
}
